extends "../yikaluosi-3/yikaluosi-3.gd"


var baseId = ""
var upText1 = "义愤额外提高25点雷击"
var upText2 = "我方舰载机阵亡也能触发愿景"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("本回合友军彻底阵亡时，立即发射一枚鱼雷(镜像阵亡无法触发)", "反击")

func _onCharaDel(cha):
	._onCharaDel(cha)
	if isDeath or cha.id.find("mirror") > -1:return
	if cha.team == team:
		castTorpedo(aiCha)

func upgrade():
	.upgrade()
	if upgraded == 1:
		p2 = 75